import React, { useMemo } from "react";
import { Form, DataSet, TextArea } from "choerodon-ui/pro";
import inputDS from './inputDataSet';

const FormatterNumber: React.FC = (): React.ReactElement => {
  const formDataSet = useMemo(() => new DataSet(inputDS()), []);
  return (
    <div>
      <Form dataSet={formDataSet} style={{ width: '4.5rem' }}>
        <TextArea
          name="textare"
        />
      </Form>
    </div>
  );
};

export default FormatterNumber;